<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta content="telephone=no" name="format-detection">
    <title>公共空间租赁申请</title>
    <link rel="stylesheet" href="../addons/orange_spacerental/style/css/rent.css"/>
    <link rel="stylesheet" href="../addons/orange_spacerental/style/weui/weui.css"/>
</head>
<body ontouchstart>
<!--dialog onebtn start -->
<div class="js_dialog" id="dialogBtn" style="display: none">
    <div class="weui-mask"></div>
    <div class="weui-dialog">
        <div class="weui-dialog__bd" id="dialogBtnContent">弹窗内容，告知当前状态、信息和解决方法，描述文字尽量控制在三行内</div>
        <div class="weui-dialog__ft">
            <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary" id="operate">知道了</a>
        </div>
    </div>
</div>
<!--loading-->
<div id="loadingToast" style="display: none;">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast">
        <i class="weui-loading weui-icon_toast"></i>
        <p class="weui-toast__content" id="loadingContent">数据加载中</p>
    </div>
</div>
<input type="hidden" value="{$space_id}" id="space_id" name="space_id">
<div class="container">
    <div class="room-des">
        <div class="img-allline">
            <img src="{$spaceInfo['space_pic']}" alt="">
        </div>
        <div class="facility">
            <p>座位数：{$spaceInfo['seats_number']}个</p>
            <div class="facility-det">


                {if $spaceInfo['have_sound'] == 1}
                <div>
                    <span class="icon icon-sound"></span><span class="facility-name">音响</span>
                </div>
                {/if}

                {if $spaceInfo['have_drinking'] == 1}
                <div>
                    <span class="icon icon-water"></span><span class="facility-name">饮水机</span>
                </div>
                {/if}

                {if $spaceInfo['have_projection'] == 1}
                <div>
                    <span class="icon icon-projector"></span><span class="facility-name">投影</span>
                </div>

                {/if}



            </div>
        </div>
        <div class="room-det-des">
            <p class="title">会议室介绍：</p>
            <p>{$spaceInfo['space_intro']}</p>
        </div>
    </div>
    <div class="rent">
        <div class="rent-title">
            预约时间
        </div>
        <div class="rent-box">
            <form id="rentInput">

                <div class="hour-box" id="hourBox">
                    <!--<div class="hour">-->
                    <!--<input type="checkbox" name="apply_hours" id="eight" value="8">-->
                    <!--<label for="eight">08:00</label>-->
                    <!--</div>-->
                </div>
                <div class="date-box" id="dateBox">
                    <!--<div class="date">-->
                    <!--<input type="radio" id="dayseven" name='apply_day' value="7" onclick="hoursinfo(this)">-->
                    <!--<label for="dayseven">11.24</label>-->
                    <!--</div>-->
                </div>
                <div class="rent-det">
                    <div class="rent-item">
                        <div class="rentItem-head">租赁事由：</div>
                        <div class="rentItem-input">
                            <textarea name="apply_content" id="apply_content"></textarea>
                        </div>
                    </div>
                    <div class="rent-item">
                        <div class="rentItem-head">预约人：</div>
                        <div class="rentItem-input">
                            <input type="text" value="{$memberInfo['realname']}" name='apply_name' id="apply_name">
                        </div>
                    </div>
                    <div class="rent-item">
                        <div class="rentItem-head">电话：</div>
                        <div class="rentItem-input">
                            <input type="number" value="{$memberInfo['mobile']}" name='apply_mobile'
                                   id="apply_mobile">
                        </div>
                    </div>
                    <div class="rent-item">
                        <div class="rentItem-head">备注：</div>
                        <div class="rentItem-input">
                            <input type="text" name='apply_remark' id="apply_remark">
                        </div>
                    </div>
                </div>
            </form>
        </div>
        <div class="btn-box-70">
            <a href="javascript:;" class="weui-btn weui-btn_primary" onclick="send()">提交</a>
        </div>

    </div>
</div>
<script src="../addons/orange_spacerental/style/js/jquery-2.1.4.min.js"></script>
<script src="../addons/orange_spacerental/style/js/rentbytimes.js"></script>
<script src="../addons/orange_spacerental/style/js/weuiAct.js"></script>
<script src="../addons/orange_spacerental/style/js/common.js"></script>
</body>
</html>